const TaoqiAdminService = require("../services/taoqiAdminService")

class TaoqiAdminController {
  // 获取商家详情
  async getDemoStandardList(req, res) {
    try {
      // const { business_id } = req.query
      const data = await TaoqiAdminService.getDemoStandardList()
      res.json({
        code: 0,
        data,
        msg: "获取成功",
      })
    } catch (error) {
      res.status(500).json({
        code: 500,
        msg: error.message,
      })
    }
  }
}

module.exports = new TaoqiAdminController()
